<?php
$this->breadcrumbs = array(
	'Blacklists'=>array('index'),
	$model->_id,
);

$user = Yii::app()->user;
$this->menu = array(
	array(
		'label'=>'List Blacklist',
		'url'=>array('index'),
		'visible'=>$user->checkAccess('blacklistList'),
	),
	array(
		'label'=>'Create Blacklist',
		'url'=>array('create'),
		'visible'=>$user->checkAccess('blacklistCreate'),
	),
	array(
		'label'=>'Update Blacklist',
		'url'=>array('update', 'id'=>$model->_id),
		'visible'=>$user->checkAccess('blacklistUpdate'),
	),
	array(
		'label'=>'Delete Blacklist',
		'url'=>'#',
		'linkOptions'=>array(
			'submit'=>array(
				'delete',
				'id'=>$model->_id),
			'confirm'=>'Are you sure you want to delete this item?'
		),
		'visible'=>$user->checkAccess('blacklistDelete'),
	),
	array(
		'label'=>'Manage Blacklist',
		'url'=>array('admin'),
		'visible'=>$user->checkAccess('blacklistManage'),
	),
);
?>

<h1>View Blacklist #<?php echo $model->_id; ?></h1>

<?php
$this->widget('zii.widgets.CDetailView',
	array(
	'data'=>$model,
	'attributes'=>array(
		'type',
		'value',
	),
));
?>
